package com.siysoft.tc.base.bean.to;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="db_account")
public class Account {
	private int account_id;
	private String account_course;
	private String account_reservation_number;
	private Timestamp account_time;
	private Integer account_money;
	private Integer account_state;
	private int account_user_id;
	private int account_reservation_id;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="account_id")
	public int getAccount_id() {
		return account_id;
	}
	public void setAccount_id(int account_id) {
		this.account_id = account_id;
	}
	
	@Column(name="account_course")
	public String getAccount_course() {
		return account_course;
	}
	public void setAccount_course(String account_course) {
		this.account_course = account_course;
	}
	
	@Column(name="account_reservation_number")
	public String getAccount_reservation_number() {
		return account_reservation_number;
	}
	public void setAccount_reservation_number(String account_reservation_number) {
		this.account_reservation_number = account_reservation_number;
	}
	
	@Column(name="account_time")
	public Timestamp getAccount_time() {
		return account_time;
	}
	public void setAccount_time(Timestamp account_time) {
		this.account_time = account_time;
	}
	
	@Column(name="account_money")
	public Integer getAccount_money() {
		return account_money;
	}
	public void setAccount_money(Integer account_money) {
		this.account_money = account_money;
	}
	
	@Column(name="account_state")
	public Integer getAccount_state() {
		return account_state;
	}
	public void setAccount_state(Integer account_state) {
		this.account_state = account_state;
	}
	
	@Column(name="account_user_id")
	public int getAccount_user_id() {
		return account_user_id;
	}
	public void setAccount_user_id(int account_user_id) {
		this.account_user_id = account_user_id;
	}
	
	@Column(name="account_reservation_id")
	public int getAccount_reservation_id() {
		return account_reservation_id;
	}
	public void setAccount_reservation_id(int account_reservation_id) {
		this.account_reservation_id = account_reservation_id;
	}

}
